# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class MyspiderItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    type = scrapy.Field()   #职位类型
    title = scrapy.Field()  #职位名称
    companyTitle = scrapy.Field() #公司名
    minSalary = scrapy.Field()  #最小薪资
    maxSalary = scrapy.Field()  #最大薪资
    workExperience = scrapy.Field() #工作经验
    educational = scrapy.Field()    #学历
    detailUrl = scrapy.Field()  # 职位详情页
    companyPeople = scrapy.Field()  #公司人数
    workTag = scrapy.Field()    #工作标签
    welfare = scrapy.Field()    #福利
    imgSrc = scrapy.Field() #公司图片
    city = scrapy.Field()   #城市


class MyspiderUrl(scrapy.Item):
    type = scrapy.Field()  # 职位类型
    url = scrapy.Field() #类型首页